package com.company.biz.product.action;

import com.company.biz.user.action.BaseController;
import com.company.product.req.PurchaseInfoReq;
import com.company.user.vo.GeneralResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@Api(description = "采购管理")
@RestController
@RequestMapping("/purchase")
public class PurchaseController extends BaseController {

    @ApiOperation(value = "财务采购商品")
    @RequestMapping(value = "/addPurchase",method = RequestMethod.POST)
    public GeneralResult<String> addPurchase(@RequestBody PurchaseInfoReq req){
        //选择供应商外加商品 采购员进行采购



        return new GeneralResult<>();

    }


}
